package org.springblade.modules.platform.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class MeasuringChainTableDTO {

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 部门类型
     */
    @ApiModelProperty(value = "部门类型")
    private Integer chainCategory;

    /**
     * 部门名
     */
    @ApiModelProperty(value = "部门名")
    private String chainName;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sort;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 父主键
     */
    @ApiModelProperty(value = "父主键")
    private Long parentId;


    @ApiModelProperty(value = "类型是公司")
    private MeasuringCompanyInfoDTO measuringCompanyInfoDTO;

    @ApiModelProperty(value = "类型是测量量")
    private MeasuringChainInfoDTO measuringChainInfoDTO;



}
